<?php include_once './application/views/sys_admin/common/header.php';  ?>
<div class=" definewidth m20">
		<form action="/sys_admin/account/zhs_tender_rank/" method="get" class="form-inline definewidth m20">
			会员名：<input type="text" id="username" name="username" style="width: 100px;" value="<?php echo $username?>" />
			时间范围：<input type="text" id="strtime" name="strtime" style="width: 100px;" value="<?php echo $strtime;?>"  onfocus="WdatePicker()" class="Wdate" />
  			——<input type="text" id="endtime" name="endtime" style="width: 100px;" value="<?php echo $endtime;?>"  onfocus="WdatePicker()" class="Wdate" />
			<button type="button" class="btn btn-primary"  onclick="this.form.submit();" >查询</button>
	  	</form>
		<table class="table table-bordered table-hover definewidth m10">
			 <thead>
			    <tr>
			        <th><strong>排名</strong></th>
					<th><strong>序号</strong></th>
					<th><strong>会员名</strong></th>
					<th><strong>投标总额</strong></th>
					<th><strong>充值总额</strong></th>
					<th><strong>提现总额</strong></th>
					<th><strong>投标次数</strong></th>
					<th><strong>注册时间</strong></th>
			    </tr>
			   </thead>
			 <?php $i = 1; foreach ($tender_rank_list as $val){?>
			  	<tr>
				<td><?php echo $i; ?></td>
				<td><?php echo $val['user_id']; ?></td>
				<td><?php echo $val['username']; ?></td>
				<td><?php echo number_format($val['money'],2); ?></td>
				<td><?php echo number_format($val['online_recharge'],2); ?></td>
				<td><?php echo number_format($val['cash_money'],2); ?></td>
				<td><?php echo intval($val['tender_count']); ?></td>
				<td><?php echo date('Y-m-d H:i:s',$val['add_time']) ?></td>
			  </tr>	
			  <?php $i=$i+1; }?>
			  	<tr>
			  	<td colspan="12" class="invbd_page"><?php echo $this->pagination->create_links();?></td>
			  	</tr>
		</table>
</div>
